3.203 \(\int \frac{x^2 (a+b \sin ^{-1}(c x))^2}{(d-c^2 d x^2)^3} \, dx\)

Optimal. Leaf size=341 \[ -\frac{i b \text{PolyLog}\left (2,-i e^{i \sin ^{-1}(c x)}\right ) \left (a+b \sin ^{-1}(c x)\right )}{4 c^3 d^3}+\frac{i b \text{PolyLog}\left (2,i e^{i \sin ^{-1}(c x)}\right ) \left (a+b \sin ^{-1}(c x)\right )}{4 c^3 d^3}+\frac{b^2 \text{PolyLog}\left (3,-i e^{i \sin ^{-1}(c x)}\right )}{4 c^3 d^3}-\frac{b^2 \text{PolyLog}\left (3,i e^{i \sin ^{-1}(c x)}\right )}{4 c^3 d^3}+\frac{b \left (a+b \sin ^{-1}(c x)\right )}{4 c^3 d^3 \sqrt{1-c^2 x^2}}-\frac{b \left (a+b \sin ^{-1}(c x)\right )}{6 c^3 d^3 \left (1-c^2 x^2\right )^{3/2}}-\frac{x \left (a+b \sin ^{-1}(c x)\right )^2}{8 c^2 d^3 \left (1-c^2 x^2\right )}+\frac{x \left (a+b \sin ^{-1}(c x)\right )^2}{4 c^2 d^3 \left (1-c^2 x^2\right )^2}+\frac{i \tan ^{-1}\left (e^{i \sin ^{-1}(c x)}\right ) \left (a+b \sin ^{-1}(c x)\right )^2}{4 c^3 d^3}+\frac{b^2 x}{12 c^2 d^3 \left (1-c^2 x^2\right )}-\frac{b^2 \tanh ^{-1}(c x)}{6 c^3 d^3} \]

[Out]

(b^2*x)/(12*c^2*d^3*(1 - c^2*x^2)) - (b*(a + b*ArcSin[c*x]))/(6*c^3*d^3*(1 - c^2*x^2)^(3/2)) + (b*(a + b*ArcSi
n[c*x]))/(4*c^3*d^3*Sqrt[1 - c^2*x^2]) + (x*(a + b*ArcSin[c*x])^2)/(4*c^2*d^3*(1 - c^2*x^2)^2) - (x*(a + b*Arc
Sin[c*x])^2)/(8*c^2*d^3*(1 - c^2*x^2)) + ((I/4)*(a + b*ArcSin[c*x])^2*ArcTan[E^(I*ArcSin[c*x])])/(c^3*d^3) - (
b^2*ArcTanh[c*x])/(6*c^3*d^3) - ((I/4)*b*(a + b*ArcSin[c*x])*PolyLog[2, (-I)*E^(I*ArcSin[c*x])])/(c^3*d^3) + (
(I/4)*b*(a + b*ArcSin[c*x])*PolyLog[2, I*E^(I*ArcSin[c*x])])/(c^3*d^3) + (b^2*PolyLog[3, (-I)*E^(I*ArcSin[c*x]
)])/(4*c^3*d^3) - (b^2*PolyLog[3, I*E^(I*ArcSin[c*x])])/(4*c^3*d^3)

________________________________________________________________________________________

Rubi [A]  time = 0.421745, antiderivative size = 341, normalized size of antiderivative = 1., number of steps used = 15, number of rules used = 10, integrand size = 27, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.37, Rules used = {4703, 4655, 4657, 4181, 2531, 2282, 6589, 4677, 206, 199} \[ -\frac{i b \text{PolyLog}\left (2,-i e^{i \sin ^{-1}(c x)}\right ) \left (a+b \sin ^{-1}(c x)\right )}{4 c^3 d^3}+\frac{i b \text{PolyLog}\left (2,i e^{i \sin ^{-1}(c x)}\right ) \left (a+b \sin ^{-1}(c x)\right )}{4 c^3 d^3}+\frac{b^2 \text{PolyLog}\left (3,-i e^{i \sin ^{-1}(c x)}\right )}{4 c^3 d^3}-\frac{b^2 \text{PolyLog}\left (3,i e^{i \sin ^{-1}(c x)}\right )}{4 c^3 d^3}+\frac{b \left (a+b \sin ^{-1}(c x)\right )}{4 c^3 d^3 \sqrt{1-c^2 x^2}}-\frac{b \left (a+b \sin ^{-1}(c x)\right )}{6 c^3 d^3 \left (1-c^2 x^2\right )^{3/2}}-\frac{x \left (a+b \sin ^{-1}(c x)\right )^2}{8 c^2 d^3 \left (1-c^2 x^2\right )}+\frac{x \left (a+b \sin ^{-1}(c x)\right )^2}{4 c^2 d^3 \left (1-c^2 x^2\right )^2}+\frac{i \tan ^{-1}\left (e^{i \sin ^{-1}(c x)}\right ) \left (a+b \sin ^{-1}(c x)\right )^2}{4 c^3 d^3}+\frac{b^2 x}{12 c^2 d^3 \left (1-c^2 x^2\right )}-\frac{b^2 \tanh ^{-1}(c x)}{6 c^3 d^3} \]

Antiderivative was successfully verified.

[In]

Int[(x^2*(a + b*ArcSin[c*x])^2)/(d - c^2*d*x^2)^3,x]

[Out]

(b^2*x)/(12*c^2*d^3*(1 - c^2*x^2)) - (b*(a + b*ArcSin[c*x]))/(6*c^3*d^3*(1 - c^2*x^2)^(3/2)) + (b*(a + b*ArcSi
n[c*x]))/(4*c^3*d^3*Sqrt[1 - c^2*x^2]) + (x*(a + b*ArcSin[c*x])^2)/(4*c^2*d^3*(1 - c^2*x^2)^2) - (x*(a + b*Arc
Sin[c*x])^2)/(8*c^2*d^3*(1 - c^2*x^2)) + ((I/4)*(a + b*ArcSin[c*x])^2*ArcTan[E^(I*ArcSin[c*x])])/(c^3*d^3) - (
b^2*ArcTanh[c*x])/(6*c^3*d^3) - ((I/4)*b*(a + b*ArcSin[c*x])*PolyLog[2, (-I)*E^(I*ArcSin[c*x])])/(c^3*d^3) + (
(I/4)*b*(a + b*ArcSin[c*x])*PolyLog[2, I*E^(I*ArcSin[c*x])])/(c^3*d^3) + (b^2*PolyLog[3, (-I)*E^(I*ArcSin[c*x]
)])/(4*c^3*d^3) - (b^2*PolyLog[3, I*E^(I*ArcSin[c*x])])/(4*c^3*d^3)

Rule 4703

Int[((a_.) + ArcSin[(c_.)*(x_)]*(b_.))^(n_.)*((f_.)*(x_))^(m_)*((d_) + (e_.)*(x_)^2)^(p_), x_Symbol] :> Simp[(
f*(f*x)^(m - 1)*(d + e*x^2)^(p + 1)*(a + b*ArcSin[c*x])^n)/(2*e*(p + 1)), x] + (-Dist[(f^2*(m - 1))/(2*e*(p +
1)), Int[(f*x)^(m - 2)*(d + e*x^2)^(p + 1)*(a + b*ArcSin[c*x])^n, x], x] + Dist[(b*f*n*d^IntPart[p]*(d + e*x^2
)^FracPart[p])/(2*c*(p + 1)*(1 - c^2*x^2)^FracPart[p]), Int[(f*x)^(m - 1)*(1 - c^2*x^2)^(p + 1/2)*(a + b*ArcSi
n[c*x])^(n - 1), x], x]) /; FreeQ[{a, b, c, d, e, f}, x] && EqQ[c^2*d + e, 0] && GtQ[n, 0] && LtQ[p, -1] && Gt
Q[m, 1]

Rule 4655

Int[((a_.) + ArcSin[(c_.)*(x_)]*(b_.))^(n_.)*((d_) + (e_.)*(x_)^2)^(p_), x_Symbol] :> -Simp[(x*(d + e*x^2)^(p
+ 1)*(a + b*ArcSin[c*x])^n)/(2*d*(p + 1)), x] + (Dist[(2*p + 3)/(2*d*(p + 1)), Int[(d + e*x^2)^(p + 1)*(a + b*
ArcSin[c*x])^n, x], x] + Dist[(b*c*n*d^IntPart[p]*(d + e*x^2)^FracPart[p])/(2*(p + 1)*(1 - c^2*x^2)^FracPart[p
]), Int[x*(1 - c^2*x^2)^(p + 1/2)*(a + b*ArcSin[c*x])^(n - 1), x], x]) /; FreeQ[{a, b, c, d, e}, x] && EqQ[c^2
*d + e, 0] && GtQ[n, 0] && LtQ[p, -1] && NeQ[p, -3/2]

Rule 4657

Int[((a_.) + ArcSin[(c_.)*(x_)]*(b_.))^(n_.)/((d_) + (e_.)*(x_)^2), x_Symbol] :> Dist[1/(c*d), Subst[Int[(a +
b*x)^n*Sec[x], x], x, ArcSin[c*x]], x] /; FreeQ[{a, b, c, d, e}, x] && EqQ[c^2*d + e, 0] && IGtQ[n, 0]

Rule 4181

Int[csc[(e_.) + Pi*(k_.) + (f_.)*(x_)]*((c_.) + (d_.)*(x_))^(m_.), x_Symbol] :> Simp[(-2*(c + d*x)^m*ArcTanh[E
^(I*k*Pi)*E^(I*(e + f*x))])/f, x] + (-Dist[(d*m)/f, Int[(c + d*x)^(m - 1)*Log[1 - E^(I*k*Pi)*E^(I*(e + f*x))],
 x], x] + Dist[(d*m)/f, Int[(c + d*x)^(m - 1)*Log[1 + E^(I*k*Pi)*E^(I*(e + f*x))], x], x]) /; FreeQ[{c, d, e,
f}, x] && IntegerQ[2*k] && IGtQ[m, 0]

Rule 2531

Int[Log[1 + (e_.)*((F_)^((c_.)*((a_.) + (b_.)*(x_))))^(n_.)]*((f_.) + (g_.)*(x_))^(m_.), x_Symbol] :> -Simp[((
f + g*x)^m*PolyLog[2, -(e*(F^(c*(a + b*x)))^n)])/(b*c*n*Log[F]), x] + Dist[(g*m)/(b*c*n*Log[F]), Int[(f + g*x)
^(m - 1)*PolyLog[2, -(e*(F^(c*(a + b*x)))^n)], x], x] /; FreeQ[{F, a, b, c, e, f, g, n}, x] && GtQ[m, 0]

Rule 2282

Int[u_, x_Symbol] :> With[{v = FunctionOfExponential[u, x]}, Dist[v/D[v, x], Subst[Int[FunctionOfExponentialFu
nction[u, x]/x, x], x, v], x]] /; FunctionOfExponentialQ[u, x] &&  !MatchQ[u, (w_)*((a_.)*(v_)^(n_))^(m_) /; F
reeQ[{a, m, n}, x] && IntegerQ[m*n]] &&  !MatchQ[u, E^((c_.)*((a_.) + (b_.)*x))*(F_)[v_] /; FreeQ[{a, b, c}, x
] && InverseFunctionQ[F[x]]]

Rule 6589

Int[PolyLog[n_, (c_.)*((a_.) + (b_.)*(x_))^(p_.)]/((d_.) + (e_.)*(x_)), x_Symbol] :> Simp[PolyLog[n + 1, c*(a
+ b*x)^p]/(e*p), x] /; FreeQ[{a, b, c, d, e, n, p}, x] && EqQ[b*d, a*e]

Rule 4677

Int[((a_.) + ArcSin[(c_.)*(x_)]*(b_.))^(n_.)*(x_)*((d_) + (e_.)*(x_)^2)^(p_.), x_Symbol] :> Simp[((d + e*x^2)^
(p + 1)*(a + b*ArcSin[c*x])^n)/(2*e*(p + 1)), x] + Dist[(b*n*d^IntPart[p]*(d + e*x^2)^FracPart[p])/(2*c*(p + 1
)*(1 - c^2*x^2)^FracPart[p]), Int[(1 - c^2*x^2)^(p + 1/2)*(a + b*ArcSin[c*x])^(n - 1), x], x] /; FreeQ[{a, b,
c, d, e, p}, x] && EqQ[c^2*d + e, 0] && GtQ[n, 0] && NeQ[p, -1]

Rule 206

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(1*ArcTanh[(Rt[-b, 2]*x)/Rt[a, 2]])/(Rt[a, 2]*Rt[-b, 2]), x]
 /; FreeQ[{a, b}, x] && NegQ[a/b] && (GtQ[a, 0] || LtQ[b, 0])

Rule 199

Int[((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> -Simp[(x*(a + b*x^n)^(p + 1))/(a*n*(p + 1)), x] + Dist[(n*(p +
 1) + 1)/(a*n*(p + 1)), Int[(a + b*x^n)^(p + 1), x], x] /; FreeQ[{a, b}, x] && IGtQ[n, 0] && LtQ[p, -1] && (In
tegerQ[2*p] || (n == 2 && IntegerQ[4*p]) || (n == 2 && IntegerQ[3*p]) || Denominator[p + 1/n] < Denominator[p]
)

Rubi steps

\begin{align*} \int \frac{x^2 \left (a+b \sin ^{-1}(c x)\right )^2}{\left (d-c^2 d x^2\right )^3} \, dx &=\frac{x \left (a+b \sin ^{-1}(c x)\right )^2}{4 c^2 d^3 \left (1-c^2 x^2\right )^2}-\frac{b \int \frac{x \left (a+b \sin ^{-1}(c x)\right )}{\left (1-c^2 x^2\right )^{5/2}} \, dx}{2 c d^3}-\frac{\int \frac{\left (a+b \sin ^{-1}(c x)\right )^2}{\left (d-c^2 d x^2\right )^2} \, dx}{4 c^2 d}\\ &=-\frac{b \left (a+b \sin ^{-1}(c x)\right )}{6 c^3 d^3 \left (1-c^2 x^2\right )^{3/2}}+\frac{x \left (a+b \sin ^{-1}(c x)\right )^2}{4 c^2 d^3 \left (1-c^2 x^2\right )^2}-\frac{x \left (a+b \sin ^{-1}(c x)\right )^2}{8 c^2 d^3 \left (1-c^2 x^2\right )}+\frac{b^2 \int \frac{1}{\left (1-c^2 x^2\right )^2} \, dx}{6 c^2 d^3}+\frac{b \int \frac{x \left (a+b \sin ^{-1}(c x)\right )}{\left (1-c^2 x^2\right )^{3/2}} \, dx}{4 c d^3}-\frac{\int \frac{\left (a+b \sin ^{-1}(c x)\right )^2}{d-c^2 d x^2} \, dx}{8 c^2 d^2}\\ &=\frac{b^2 x}{12 c^2 d^3 \left (1-c^2 x^2\right )}-\frac{b \left (a+b \sin ^{-1}(c x)\right )}{6 c^3 d^3 \left (1-c^2 x^2\right )^{3/2}}+\frac{b \left (a+b \sin ^{-1}(c x)\right )}{4 c^3 d^3 \sqrt{1-c^2 x^2}}+\frac{x \left (a+b \sin ^{-1}(c x)\right )^2}{4 c^2 d^3 \left (1-c^2 x^2\right )^2}-\frac{x \left (a+b \sin ^{-1}(c x)\right )^2}{8 c^2 d^3 \left (1-c^2 x^2\right )}-\frac{\operatorname{Subst}\left (\int (a+b x)^2 \sec (x) \, dx,x,\sin ^{-1}(c x)\right )}{8 c^3 d^3}+\frac{b^2 \int \frac{1}{1-c^2 x^2} \, dx}{12 c^2 d^3}-\frac{b^2 \int \frac{1}{1-c^2 x^2} \, dx}{4 c^2 d^3}\\ &=\frac{b^2 x}{12 c^2 d^3 \left (1-c^2 x^2\right )}-\frac{b \left (a+b \sin ^{-1}(c x)\right )}{6 c^3 d^3 \left (1-c^2 x^2\right )^{3/2}}+\frac{b \left (a+b \sin ^{-1}(c x)\right )}{4 c^3 d^3 \sqrt{1-c^2 x^2}}+\frac{x \left (a+b \sin ^{-1}(c x)\right )^2}{4 c^2 d^3 \left (1-c^2 x^2\right )^2}-\frac{x \left (a+b \sin ^{-1}(c x)\right )^2}{8 c^2 d^3 \left (1-c^2 x^2\right )}+\frac{i \left (a+b \sin ^{-1}(c x)\right )^2 \tan ^{-1}\left (e^{i \sin ^{-1}(c x)}\right )}{4 c^3 d^3}-\frac{b^2 \tanh ^{-1}(c x)}{6 c^3 d^3}+\frac{b \operatorname{Subst}\left (\int (a+b x) \log \left (1-i e^{i x}\right ) \, dx,x,\sin ^{-1}(c x)\right )}{4 c^3 d^3}-\frac{b \operatorname{Subst}\left (\int (a+b x) \log \left (1+i e^{i x}\right ) \, dx,x,\sin ^{-1}(c x)\right )}{4 c^3 d^3}\\ &=\frac{b^2 x}{12 c^2 d^3 \left (1-c^2 x^2\right )}-\frac{b \left (a+b \sin ^{-1}(c x)\right )}{6 c^3 d^3 \left (1-c^2 x^2\right )^{3/2}}+\frac{b \left (a+b \sin ^{-1}(c x)\right )}{4 c^3 d^3 \sqrt{1-c^2 x^2}}+\frac{x \left (a+b \sin ^{-1}(c x)\right )^2}{4 c^2 d^3 \left (1-c^2 x^2\right )^2}-\frac{x \left (a+b \sin ^{-1}(c x)\right )^2}{8 c^2 d^3 \left (1-c^2 x^2\right )}+\frac{i \left (a+b \sin ^{-1}(c x)\right )^2 \tan ^{-1}\left (e^{i \sin ^{-1}(c x)}\right )}{4 c^3 d^3}-\frac{b^2 \tanh ^{-1}(c x)}{6 c^3 d^3}-\frac{i b \left (a+b \sin ^{-1}(c x)\right ) \text{Li}_2\left (-i e^{i \sin ^{-1}(c x)}\right )}{4 c^3 d^3}+\frac{i b \left (a+b \sin ^{-1}(c x)\right ) \text{Li}_2\left (i e^{i \sin ^{-1}(c x)}\right )}{4 c^3 d^3}+\frac{\left (i b^2\right ) \operatorname{Subst}\left (\int \text{Li}_2\left (-i e^{i x}\right ) \, dx,x,\sin ^{-1}(c x)\right )}{4 c^3 d^3}-\frac{\left (i b^2\right ) \operatorname{Subst}\left (\int \text{Li}_2\left (i e^{i x}\right ) \, dx,x,\sin ^{-1}(c x)\right )}{4 c^3 d^3}\\ &=\frac{b^2 x}{12 c^2 d^3 \left (1-c^2 x^2\right )}-\frac{b \left (a+b \sin ^{-1}(c x)\right )}{6 c^3 d^3 \left (1-c^2 x^2\right )^{3/2}}+\frac{b \left (a+b \sin ^{-1}(c x)\right )}{4 c^3 d^3 \sqrt{1-c^2 x^2}}+\frac{x \left (a+b \sin ^{-1}(c x)\right )^2}{4 c^2 d^3 \left (1-c^2 x^2\right )^2}-\frac{x \left (a+b \sin ^{-1}(c x)\right )^2}{8 c^2 d^3 \left (1-c^2 x^2\right )}+\frac{i \left (a+b \sin ^{-1}(c x)\right )^2 \tan ^{-1}\left (e^{i \sin ^{-1}(c x)}\right )}{4 c^3 d^3}-\frac{b^2 \tanh ^{-1}(c x)}{6 c^3 d^3}-\frac{i b \left (a+b \sin ^{-1}(c x)\right ) \text{Li}_2\left (-i e^{i \sin ^{-1}(c x)}\right )}{4 c^3 d^3}+\frac{i b \left (a+b \sin ^{-1}(c x)\right ) \text{Li}_2\left (i e^{i \sin ^{-1}(c x)}\right )}{4 c^3 d^3}+\frac{b^2 \operatorname{Subst}\left (\int \frac{\text{Li}_2(-i x)}{x} \, dx,x,e^{i \sin ^{-1}(c x)}\right )}{4 c^3 d^3}-\frac{b^2 \operatorname{Subst}\left (\int \frac{\text{Li}_2(i x)}{x} \, dx,x,e^{i \sin ^{-1}(c x)}\right )}{4 c^3 d^3}\\ &=\frac{b^2 x}{12 c^2 d^3 \left (1-c^2 x^2\right )}-\frac{b \left (a+b \sin ^{-1}(c x)\right )}{6 c^3 d^3 \left (1-c^2 x^2\right )^{3/2}}+\frac{b \left (a+b \sin ^{-1}(c x)\right )}{4 c^3 d^3 \sqrt{1-c^2 x^2}}+\frac{x \left (a+b \sin ^{-1}(c x)\right )^2}{4 c^2 d^3 \left (1-c^2 x^2\right )^2}-\frac{x \left (a+b \sin ^{-1}(c x)\right )^2}{8 c^2 d^3 \left (1-c^2 x^2\right )}+\frac{i \left (a+b \sin ^{-1}(c x)\right )^2 \tan ^{-1}\left (e^{i \sin ^{-1}(c x)}\right )}{4 c^3 d^3}-\frac{b^2 \tanh ^{-1}(c x)}{6 c^3 d^3}-\frac{i b \left (a+b \sin ^{-1}(c x)\right ) \text{Li}_2\left (-i e^{i \sin ^{-1}(c x)}\right )}{4 c^3 d^3}+\frac{i b \left (a+b \sin ^{-1}(c x)\right ) \text{Li}_2\left (i e^{i \sin ^{-1}(c x)}\right )}{4 c^3 d^3}+\frac{b^2 \text{Li}_3\left (-i e^{i \sin ^{-1}(c x)}\right )}{4 c^3 d^3}-\frac{b^2 \text{Li}_3\left (i e^{i \sin ^{-1}(c x)}\right )}{4 c^3 d^3}\\ \end{align*}

Mathematica [A]  time = 4.37925, size = 446, normalized size = 1.31 \[ \frac{-12 i a b \text{PolyLog}\left (2,-i e^{i \sin ^{-1}(c x)}\right )+12 i a b \text{PolyLog}\left (2,i e^{i \sin ^{-1}(c x)}\right )+4 b^2 \left (-3 i \sin ^{-1}(c x) \text{PolyLog}\left (2,-i e^{i \sin ^{-1}(c x)}\right )+3 i \sin ^{-1}(c x) \text{PolyLog}\left (2,i e^{i \sin ^{-1}(c x)}\right )+3 \text{PolyLog}\left (3,-i e^{i \sin ^{-1}(c x)}\right )-3 \text{PolyLog}\left (3,i e^{i \sin ^{-1}(c x)}\right )-2 \tanh ^{-1}(c x)+3 i \sin ^{-1}(c x)^2 \tan ^{-1}\left (e^{i \sin ^{-1}(c x)}\right )\right )+\frac{6 a^2 c x}{c^2 x^2-1}+\frac{12 a^2 c x}{\left (c^2 x^2-1\right )^2}+3 a^2 \log (1-c x)-3 a^2 \log (c x+1)+\frac{a b \left (\sqrt{1-c^2 x^2}+12 \sin ^{-1}(c x) \left (c^3 x^3-\left (c^2 x^2-1\right )^2 \log \left (1-i e^{i \sin ^{-1}(c x)}\right )+\left (c^2 x^2-1\right )^2 \log \left (1+i e^{i \sin ^{-1}(c x)}\right )+c x\right )-4 \cos \left (2 \sin ^{-1}(c x)\right )+3 \cos \left (3 \sin ^{-1}(c x)\right )-\cos \left (4 \sin ^{-1}(c x)\right )-3\right )}{\left (c^2 x^2-1\right )^2}+\frac{b^2 \left (2 \sin ^{-1}(c x) \left (\sqrt{1-c^2 x^2}+3 \cos \left (3 \sin ^{-1}(c x)\right )\right )-3 \left (\sin \left (3 \sin ^{-1}(c x)\right )-7 c x\right ) \sin ^{-1}(c x)^2+2 \left (c x+\sin \left (3 \sin ^{-1}(c x)\right )\right )\right )}{2 \left (c^2 x^2-1\right )^2}}{48 c^3 d^3} \]

Warning: Unable to verify antiderivative.

[In]

Integrate[(x^2*(a + b*ArcSin[c*x])^2)/(d - c^2*d*x^2)^3,x]

[Out]

((12*a^2*c*x)/(-1 + c^2*x^2)^2 + (6*a^2*c*x)/(-1 + c^2*x^2) + (a*b*(-3 + Sqrt[1 - c^2*x^2] - 4*Cos[2*ArcSin[c*
x]] + 3*Cos[3*ArcSin[c*x]] - Cos[4*ArcSin[c*x]] + 12*ArcSin[c*x]*(c*x + c^3*x^3 - (-1 + c^2*x^2)^2*Log[1 - I*E
^(I*ArcSin[c*x])] + (-1 + c^2*x^2)^2*Log[1 + I*E^(I*ArcSin[c*x])])))/(-1 + c^2*x^2)^2 + 3*a^2*Log[1 - c*x] - 3
*a^2*Log[1 + c*x] - (12*I)*a*b*PolyLog[2, (-I)*E^(I*ArcSin[c*x])] + (12*I)*a*b*PolyLog[2, I*E^(I*ArcSin[c*x])]
 + 4*b^2*((3*I)*ArcSin[c*x]^2*ArcTan[E^(I*ArcSin[c*x])] - 2*ArcTanh[c*x] - (3*I)*ArcSin[c*x]*PolyLog[2, (-I)*E
^(I*ArcSin[c*x])] + (3*I)*ArcSin[c*x]*PolyLog[2, I*E^(I*ArcSin[c*x])] + 3*PolyLog[3, (-I)*E^(I*ArcSin[c*x])] -
 3*PolyLog[3, I*E^(I*ArcSin[c*x])]) + (b^2*(2*ArcSin[c*x]*(Sqrt[1 - c^2*x^2] + 3*Cos[3*ArcSin[c*x]]) - 3*ArcSi
n[c*x]^2*(-7*c*x + Sin[3*ArcSin[c*x]]) + 2*(c*x + Sin[3*ArcSin[c*x]])))/(2*(-1 + c^2*x^2)^2))/(48*c^3*d^3)

________________________________________________________________________________________

Maple [B]  time = 0.437, size = 894, normalized size = 2.6 \begin{align*} \text{result too large to display} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^2*(a+b*arcsin(c*x))^2/(-c^2*d*x^2+d)^3,x)

[Out]

1/4*I/c^3*b^2/d^3*arcsin(c*x)*polylog(2,I*(I*c*x+(-c^2*x^2+1)^(1/2)))-1/4*I/c^3*a*b/d^3*dilog(1+I*(I*c*x+(-c^2
*x^2+1)^(1/2)))+1/4*I/c^3*a*b/d^3*dilog(1-I*(I*c*x+(-c^2*x^2+1)^(1/2)))-1/8/c^3*b^2/d^3*arcsin(c*x)^2*ln(1-I*(
I*c*x+(-c^2*x^2+1)^(1/2)))+1/3*I/c^3*b^2/d^3*arctan(I*c*x+(-c^2*x^2+1)^(1/2))+1/8/c^2*b^2/d^3/(c^4*x^4-2*c^2*x
^2+1)*arcsin(c*x)^2*x+1/12/c^3*b^2/d^3/(c^4*x^4-2*c^2*x^2+1)*arcsin(c*x)*(-c^2*x^2+1)^(1/2)+1/12/c^3*a*b/d^3/(
c^4*x^4-2*c^2*x^2+1)*(-c^2*x^2+1)^(1/2)+1/4/c^3*a*b/d^3*arcsin(c*x)*ln(1+I*(I*c*x+(-c^2*x^2+1)^(1/2)))-1/4/c^3
*a*b/d^3*arcsin(c*x)*ln(1-I*(I*c*x+(-c^2*x^2+1)^(1/2)))+1/4*a*b/d^3/(c^4*x^4-2*c^2*x^2+1)*arcsin(c*x)*x^3-1/4*
I/c^3*b^2/d^3*arcsin(c*x)*polylog(2,-I*(I*c*x+(-c^2*x^2+1)^(1/2)))+1/12/c^2*b^2/d^3/(c^4*x^4-2*c^2*x^2+1)*x+1/
16/c^3*a^2/d^3/(c*x-1)^2+1/16/c^3*a^2/d^3/(c*x-1)-1/16/c^3*a^2/d^3/(c*x+1)^2+1/16/c^3*a^2/d^3/(c*x+1)+1/16/c^3
*a^2/d^3*ln(c*x-1)-1/16/c^3*a^2/d^3*ln(c*x+1)-1/12*b^2/d^3/(c^4*x^4-2*c^2*x^2+1)*x^3+1/8*b^2/d^3/(c^4*x^4-2*c^
2*x^2+1)*arcsin(c*x)^2*x^3+1/8/c^3*b^2/d^3*arcsin(c*x)^2*ln(1+I*(I*c*x+(-c^2*x^2+1)^(1/2)))+1/4*b^2*polylog(3,
-I*(I*c*x+(-c^2*x^2+1)^(1/2)))/c^3/d^3-1/4*b^2*polylog(3,I*(I*c*x+(-c^2*x^2+1)^(1/2)))/c^3/d^3-1/4/c*b^2/d^3/(
c^4*x^4-2*c^2*x^2+1)*arcsin(c*x)*(-c^2*x^2+1)^(1/2)*x^2-1/4/c*a*b/d^3/(c^4*x^4-2*c^2*x^2+1)*x^2*(-c^2*x^2+1)^(
1/2)+1/4/c^2*a*b/d^3/(c^4*x^4-2*c^2*x^2+1)*arcsin(c*x)*x

________________________________________________________________________________________

Maxima [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \frac{1}{16} \, a^{2}{\left (\frac{2 \,{\left (c^{2} x^{3} + x\right )}}{c^{6} d^{3} x^{4} - 2 \, c^{4} d^{3} x^{2} + c^{2} d^{3}} - \frac{\log \left (c x + 1\right )}{c^{3} d^{3}} + \frac{\log \left (c x - 1\right )}{c^{3} d^{3}}\right )} - \frac{{\left (b^{2} c^{4} x^{4} - 2 \, b^{2} c^{2} x^{2} + b^{2}\right )} \arctan \left (c x, \sqrt{c x + 1} \sqrt{-c x + 1}\right )^{2} \log \left (c x + 1\right ) -{\left (b^{2} c^{4} x^{4} - 2 \, b^{2} c^{2} x^{2} + b^{2}\right )} \arctan \left (c x, \sqrt{c x + 1} \sqrt{-c x + 1}\right )^{2} \log \left (-c x + 1\right ) - 2 \,{\left (b^{2} c^{3} x^{3} + b^{2} c x\right )} \arctan \left (c x, \sqrt{c x + 1} \sqrt{-c x + 1}\right )^{2} + 2 \,{\left (c^{7} d^{3} x^{4} - 2 \, c^{5} d^{3} x^{2} + c^{3} d^{3}\right )} \int \frac{16 \, a b c^{2} x^{2} \arctan \left (c x, \sqrt{c x + 1} \sqrt{-c x + 1}\right ) +{\left ({\left (b^{2} c^{4} x^{4} - 2 \, b^{2} c^{2} x^{2} + b^{2}\right )} \arctan \left (c x, \sqrt{c x + 1} \sqrt{-c x + 1}\right ) \log \left (c x + 1\right ) -{\left (b^{2} c^{4} x^{4} - 2 \, b^{2} c^{2} x^{2} + b^{2}\right )} \arctan \left (c x, \sqrt{c x + 1} \sqrt{-c x + 1}\right ) \log \left (-c x + 1\right ) - 2 \,{\left (b^{2} c^{3} x^{3} + b^{2} c x\right )} \arctan \left (c x, \sqrt{c x + 1} \sqrt{-c x + 1}\right )\right )} \sqrt{c x + 1} \sqrt{-c x + 1}}{c^{8} d^{3} x^{6} - 3 \, c^{6} d^{3} x^{4} + 3 \, c^{4} d^{3} x^{2} - c^{2} d^{3}}\,{d x}}{16 \,{\left (c^{7} d^{3} x^{4} - 2 \, c^{5} d^{3} x^{2} + c^{3} d^{3}\right )}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^2*(a+b*arcsin(c*x))^2/(-c^2*d*x^2+d)^3,x, algorithm="maxima")

[Out]

1/16*a^2*(2*(c^2*x^3 + x)/(c^6*d^3*x^4 - 2*c^4*d^3*x^2 + c^2*d^3) - log(c*x + 1)/(c^3*d^3) + log(c*x - 1)/(c^3
*d^3)) - 1/16*((b^2*c^4*x^4 - 2*b^2*c^2*x^2 + b^2)*arctan2(c*x, sqrt(c*x + 1)*sqrt(-c*x + 1))^2*log(c*x + 1) -
 (b^2*c^4*x^4 - 2*b^2*c^2*x^2 + b^2)*arctan2(c*x, sqrt(c*x + 1)*sqrt(-c*x + 1))^2*log(-c*x + 1) - 2*(b^2*c^3*x
^3 + b^2*c*x)*arctan2(c*x, sqrt(c*x + 1)*sqrt(-c*x + 1))^2 + 16*(c^7*d^3*x^4 - 2*c^5*d^3*x^2 + c^3*d^3)*integr
ate(1/8*(16*a*b*c^2*x^2*arctan2(c*x, sqrt(c*x + 1)*sqrt(-c*x + 1)) + ((b^2*c^4*x^4 - 2*b^2*c^2*x^2 + b^2)*arct
an2(c*x, sqrt(c*x + 1)*sqrt(-c*x + 1))*log(c*x + 1) - (b^2*c^4*x^4 - 2*b^2*c^2*x^2 + b^2)*arctan2(c*x, sqrt(c*
x + 1)*sqrt(-c*x + 1))*log(-c*x + 1) - 2*(b^2*c^3*x^3 + b^2*c*x)*arctan2(c*x, sqrt(c*x + 1)*sqrt(-c*x + 1)))*s
qrt(c*x + 1)*sqrt(-c*x + 1))/(c^8*d^3*x^6 - 3*c^6*d^3*x^4 + 3*c^4*d^3*x^2 - c^2*d^3), x))/(c^7*d^3*x^4 - 2*c^5
*d^3*x^2 + c^3*d^3)

________________________________________________________________________________________

Fricas [F]  time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (-\frac{b^{2} x^{2} \arcsin \left (c x\right )^{2} + 2 \, a b x^{2} \arcsin \left (c x\right ) + a^{2} x^{2}}{c^{6} d^{3} x^{6} - 3 \, c^{4} d^{3} x^{4} + 3 \, c^{2} d^{3} x^{2} - d^{3}}, x\right ) \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^2*(a+b*arcsin(c*x))^2/(-c^2*d*x^2+d)^3,x, algorithm="fricas")

[Out]

integral(-(b^2*x^2*arcsin(c*x)^2 + 2*a*b*x^2*arcsin(c*x) + a^2*x^2)/(c^6*d^3*x^6 - 3*c^4*d^3*x^4 + 3*c^2*d^3*x
^2 - d^3), x)

________________________________________________________________________________________

Sympy [F]  time = 0., size = 0, normalized size = 0. \begin{align*} - \frac{\int \frac{a^{2} x^{2}}{c^{6} x^{6} - 3 c^{4} x^{4} + 3 c^{2} x^{2} - 1}\, dx + \int \frac{b^{2} x^{2} \operatorname{asin}^{2}{\left (c x \right )}}{c^{6} x^{6} - 3 c^{4} x^{4} + 3 c^{2} x^{2} - 1}\, dx + \int \frac{2 a b x^{2} \operatorname{asin}{\left (c x \right )}}{c^{6} x^{6} - 3 c^{4} x^{4} + 3 c^{2} x^{2} - 1}\, dx}{d^{3}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x**2*(a+b*asin(c*x))**2/(-c**2*d*x**2+d)**3,x)

[Out]

-(Integral(a**2*x**2/(c**6*x**6 - 3*c**4*x**4 + 3*c**2*x**2 - 1), x) + Integral(b**2*x**2*asin(c*x)**2/(c**6*x
**6 - 3*c**4*x**4 + 3*c**2*x**2 - 1), x) + Integral(2*a*b*x**2*asin(c*x)/(c**6*x**6 - 3*c**4*x**4 + 3*c**2*x**
2 - 1), x))/d**3

________________________________________________________________________________________

Giac [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int -\frac{{\left (b \arcsin \left (c x\right ) + a\right )}^{2} x^{2}}{{\left (c^{2} d x^{2} - d\right )}^{3}}\,{d x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^2*(a+b*arcsin(c*x))^2/(-c^2*d*x^2+d)^3,x, algorithm="giac")

[Out]

integrate(-(b*arcsin(c*x) + a)^2*x^2/(c^2*d*x^2 - d)^3, x)